package com.ll.wechat.base.app;

import com.facebook.drawee.backends.pipeline.Fresco;
import com.squareup.leakcanary.LeakCanary;

import android.app.Application;
import android.content.Context;

public class App extends Application {

	public static Context mContext;

	@Override
	public void onCreate() {
		super.onCreate();
		mContext = getApplicationContext();
		// 内存泄露检测
		LeakCanary.install(this);
		// fresco初始化
		Fresco.initialize(mContext);
	}

}
